<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>iframe</title>
    <style>
        html,body{
            width: 100%;
            height: 100%;
        }
    </style>
</head>
<body>
    

    <script src="//res.utovr.com/common/player/javascript/plugin/gyro/gyroHelp.js" type="text/javascript"></script>
    <script>
        function urlValueToDom () {
            const query = location.search.substr(1)
            const obj = {}


            query.split('&').map(function (pair) {
                const arr = pair.split('=')
                obj[arr[0]] = decodeURIComponent(arr[1])
            })
            return obj
        }

        const query = urlValueToDom()
        const src = query.src

        var iframe = document.createElement('iframe')
        iframe.width = '100%'
        iframe.height = '100%'
        iframe.frameborder = 0
        iframe.allowfullscreen = 'true'
        iframe.webkitallowfullscreen = 'true'
        iframe.src = src

        document.body.appendChild(iframe)
    </script>
</body>
</html>